package com.foryou.system.modules.wx.dao;

import com.foryou.system.modules.wx.entity.SysMsgEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Lee.
 */
@Mapper
@Repository
public interface SysMsgDao {

    List<SysMsgEntity> queryList(Map<String, Object> params);

    int queryTotal(Map<String, Object> params);

    int update(Map<String, Object> map);

    int add(Map<String, Object> map);

    List<SysMsgEntity> selectList();

    SysMsgEntity getInfo(Long id);

    int deleteBatch(Object[] ids);

}
